package express

import (
	"crmeb-common/global"
	"math/big"
)

// ShippingTemplatesRegion 运费模板指定区域费用
type ShippingTemplatesRegion struct {
	global.BaseModel
	TempId int32 `json:"tempId" gorm:"column=temp_id;comment:模板ID"`

	CityId int32 `json:"cityId" gorm:"column=city_id;comment:城市ID"`

	Title string `json:"title" gorm:"column=title;comment:描述"`

	First big.Float `json:"first" gorm:"column=first;comment:首件"`

	FirstPrice big.Float `json:"firstPrice" gorm:"column=first_price;comment:首件运费"`

	Renewal big.Float `json:"renewal" gorm:"column=renewal;comment:续件"`

	RenewalPrice big.Float `json:"renewalPrice" gorm:"column=renewal_price;comment:续件运费"`

	Type int32 `json:"type" gorm:"column=type;comment:计费方式 1按件数 2按重量 3按体积"`

	Uniqid string `json:"uniqid" gorm:"column=uniqid;comment:分组唯一值"`
}
